package com.bolt.admin.module.sys.entity;


import com.bolt.support.spring.jpa.entity.PersistableEntity;
import org.hibernate.annotations.Cache;
import org.hibernate.annotations.CacheConcurrencyStrategy;

import javax.persistence.Column;
import javax.persistence.EmbeddedId;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * @author 米超
 * 用户表头设置
 */
@Entity
@Table(name = "SYS_USER_TABLE_HEAD_CONFIG")
@Cache(usage = CacheConcurrencyStrategy.READ_WRITE)
public class UserTableHeadConfig extends PersistableEntity<UserTableHeadConfigPK> {
	
	private static final long serialVersionUID = 1L;
    @EmbeddedId
	private UserTableHeadConfigPK id;

    @Column(name="SHOWHEAD", length=500)
	private String showHead;
	
	@Override

	public UserTableHeadConfigPK getId() {
		return id;
	}
   
	public UserTableHeadConfigPK setId(UserTableHeadConfigPK pk) {
		return this.id = pk;
	}

	public String getShowHead() {
		return showHead;
	}

	public void setShowHead(String showHead) {
		this.showHead = showHead;
	}
	
	
}
